﻿#pragma once

#include <string>

namespace HadoopPipes {

	/**
	* User code to decide where each key should be sent.
	*/
	class Partitioner {
	public:
		virtual int partition(const std::string& key, int numOfReduces) = 0;
		virtual ~Partitioner() {}
	};

}